package com.chezhujie.www.persistence;

import com.chezhujie.www.domain.Xypermission;

import java.util.List;
import java.util.Map;

/**
* 菜单角色权限关系
* Created by 汤伟杰 on 2017/5/23.
 */
public interface XypermissionMapper extends BaseMapper<Xypermission>{
    List<Map<String,Object>> listMenuId(Map<String, Object> param);
    List<Map<String,Object>> listRoleId(Map<String, Object> param);

    List<Map<String,Object>> AllMenuPermissionByRoleId(String roleId);

    List<Xypermission> queryByRoleId(String roleId);

}
